package com.example.zhaojianxu.signin.signIn.sign.viewModel

import com.example.zhaojianxu.signin.signIn.sign.model.SignEntity
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
import java.lang.Exception

class SignRequest{

    fun getSignList() = GlobalScope.async{

        try {
            listOf(SignEntity(),SignEntity(),SignEntity(),SignEntity(),SignEntity(),SignEntity(),SignEntity(),SignEntity(),SignEntity())
        }catch (e: Exception){
            listOf(SignEntity())
        }
    }
}